package com.example.springcloud.alibaba.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
@AllArgsConstructor
public enum CommonResultEnum {

    SUCCESS(200, "成功"),

    CREATE_ERROR(44, "插入失败"),
    GET_ERROR(333, "查找失败")
    ;

    private final Integer code;
    private final String message;
}
